package com.zlq.pojo;

import org.springframework.stereotype.Component;

@Component
public class LoginInfo {

    String username;
    String ip;
    String logintime;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getLogintime() {
        return logintime;
    }

    public void setLogintime(String logintime) {
        this.logintime = logintime;
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "username='" + username + '\'' +
                ", ip='" + ip + '\'' +
                ", logintime='" + logintime + '\'' +
                '}';
    }
}
